package com.meisupic.copyright.service;

import com.meisupic.copyright.domain.bo.ImageInfo;
import com.meisupic.copyright.domain.vo.OssPostPolicyVo;
import java.io.File;

/**
 * creation wuxun
 * @version V1.0
 * @Description: oss上传
 * @date 2018/1/20 11:06
 */
public interface IOssService {

  void putObject(String key,File file);

  void putObject(String key,byte[] bytes);

  void deleteObject(String key);

  OssPostPolicyVo getPostPolicy(String dir);

  void genThumbnail(String key);

  ImageInfo getImageInfo(String key);

}
